package l2

import (
	"zstackgo/pkg/header/core"
	"zstackgo/pkg/header/host"
)

type L2NetworkAttachClusterExtensionPoint interface {
	GetSupportedL2NetworkType() *L2NetworkType
	GetSupportedHypervisorType() *host.HypervisorType
	BeforeAttach(l2Network *L2NetworkInventory, hostUuid string, completion core.Completion)
	AfterAttach(l2Network *L2NetworkInventory, hostUuid string, completion core.Completion)
}
